#include "cpu/exec/template-start.h"

int leave () {
	REG(R_ESP) = REG(R_EBP);
	REG(R_EBP) = MEM_R(cpu.esp);
	REG(R_ESP) += 4;
	print_asm("leave");
	//printf("leave::eip = %x\n", cpu.eip);
	return 1;
}

#include "cpu/exec/template-end.h"


